package com.lipaluma.annotations.adaptors;

import java.lang.annotation.Documented;
import java.lang.annotation.ElementType;
import java.lang.annotation.Inherited;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

import com.lipaluma.field.adaptor.Adaptor;

@Documented
@Inherited
@Target({ElementType.FIELD})
@Retention(RetentionPolicy.RUNTIME)
public @interface Adapt {
	int truncateAt() default -1;
		
	String suffixWhenTruncate() default "";
	
	boolean toLowerCase() default false;

	boolean toUpperCase() default false;
	
	boolean trim() default false;
	
	Class<? extends Adaptor>[] doInOrder() default {};
}
